package com.stenio.fancat.domain.user;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.stenio.fancat.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author liuan
 * @create 2019-01-21 11:17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("fc_user_relationship_log")
public class UserRelationshipLog extends BaseEntity {

    /** 自增主键 */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    @TableField("user_id")
    private String userId;
    @TableField("baby_id")
    private String babyId;
    @TableField("oper_type")
    private Integer operType;
    @TableField("candy")
    private Integer candy;
    @TableField("before_candy")
    private Integer beforeCandy;
    @TableField("after_candy")
    private Integer afterCandy;

}
